<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>空中课堂列表</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/mui.min.css">
    <link rel="stylesheet" type="text/css" href="../../css/base.css">
    <link rel="stylesheet" type="text/css" href="../../css/weui.min.css">

    <style>
        html, body {
            background-color: #f3f5f7;
            overflow: hidden;
        }
        
    </style>
</head>
<body>
        <div class="base_style_color " id='BarAppearance' ></div>
        <div class="base_navigation_bar base_style_color base_navigation_item_bar">
            <a class="base_left_item" href="#" onclick="fanhui()">
                <img class="base_back_icon" src="../../image/icon_jiantou.png" alt="">
            </a>
            <span>直播课堂</span>
        </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/jquery.min.js"></script>
<script type="text/javascript" src="../../script/MD5.js"></script>
<script type="text/javascript" src="../../script/requestTool.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript" src="../../script/ui.js"></script>
<script type="text/javascript">

    apiready = function () {
        initHeaderUI();
        openFrame();
        
    };
    function openFrame () {
        var y = $('#BarAppearance').height() + $('.base_navigation_bar').height();
        var h = api.winHeight - y;
        api.openFrame({
            name: 'liveStreamListFrame',
            url: 'liveStreamListFrame.html',
            rect: {
                x: 0,
                y: y,
                w: 'auto',
                h: h
            },
            pageParam: {
                name: 'value',
                sourceurl : window.location.pathname,
				sourcetitle : document.title,
            },
            bounces: true
        });

        api.addEventListener({
                name: 'showClassroomFrameNotifi'
            }, function(ret, err) {
                api.setFrameAttr({
                    name: 'liveStreamListFrame',
                    hidden: false
                });
            });
            api.addEventListener({
                name: 'hideClassroomFrameNotifi'
            }, function(ret, err) {
                api.setFrameAttr({
                    name: 'liveStreamListFrame',
                    hidden: true
                });
            });
        

    }
    function fanhui() {
        api.closeWin();
    }

    
</script>
</html>